﻿@model Enterprise.Management.Models.ChangePasswordModel
@{
    ViewBag.Title = "修改密码";
}
@section header{
    <script src="@Url.Content("~/Scripts/base/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>
}
@Html.Navigation("修改密码")
@using (Html.BeginForm())
{
    @Html.ValidationSummary(true, "错误信息提示：")
    <div>
        <fieldset>
            <legend>账户信息</legend>
            <div class="editor-label">
                @Html.LabelFor(m => m.OldPassword)
            </div>
            <div class="editor-field">
                @Html.PasswordFor(m => m.OldPassword)
                @Html.ValidationMessageFor(m => m.OldPassword)
            </div>
            <div class="editor-label">
                @Html.LabelFor(m => m.NewPassword)
            </div>
            <div class="editor-field">
                @Html.PasswordFor(m => m.NewPassword)
                @Html.ValidationMessageFor(m => m.NewPassword)
            </div>
            <div class="editor-label">
                @Html.LabelFor(m => m.ConfirmPassword)
            </div>
            <div class="editor-field">
                @Html.PasswordFor(m => m.ConfirmPassword)
                @Html.ValidationMessageFor(m => m.ConfirmPassword)
            </div>
            <p>
                <input type="submit" value="修改" />
            </p>
        </fieldset>
    </div>
}
